package com.itheima.dao;

import com.itheima.pojo.Order;

import java.util.Map;

public interface OrderDao {
    Long findByOrder(Order order);

    void addOrder(Order order);

    Map<String,Object> findById(Integer orderId);

    Long findtodayOrderNumber(String today);

    Long findtodayVisitsNumber(String today);

    Long findOrderNumber(String thisWeekMonday, String sundayOfThisWeek);

    Long findVisitsNumber(String thisWeekMonday);
}
